<template>
	<!-- 推广人排行 -->
	<view class="hte">
		<view class="herader"></view>
		<view class="cres">
			<button class="but">周榜</button>
			<button class="buto" style="border-radius: 0 20px  20px 0;">
				月榜
			</button>
		</view>
		<Aside></Aside>
	</view>
</template>

<script>
import Aside from "@/components/asideNav.vue";
import {commiss} from "../../network/pointer.js";
export default {
	data() {
		return {};
	},
	components: {
		Aside
	},
	methods: {
		sectionChange(index) {
			this.curNow = index;
		}
	},
	async created() {
		let res = await commiss();
		console.log(res);
	}
};
</script>

<style scoped>
.herader {
	width: 100vw;
	height: 30vh;
	background-color: #e93323;
}
.cres {
	display: flex;
	position: absolute;
	top: 5vh;
	left: 10vh;
}
.but,
.buto {
	background-color: #e93323;
	color: #fff;
	border: 1px solid #fff;
	width: 120px;
	height: 40px;
	border-radius: 20px 0 0 20px;
	line-height: 40px;
}
.but:hover {
	background-color: #fff;
	color: #e93323;
}
.buto:hover {
	background-color: #fff;
	color: #e93323;
}
</style>
